<?php

namespace common\models\member;

use Yii;

/**
 * This is the model class for table "{{%member_department}}".
 *
 * @property int $member_id
 * @property int $department_id
 */
class MemberDepartment extends \common\models\base\BaseModel
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%member_department}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['member_id', 'department_id'], 'integer'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'member_id' => 'Member ID',
            'department_id' => 'Department ID',
        ];
    }
}
